import 'package:cjybase/base/base_main.dart';
import 'package:cjybase/entity/screen_default.dart';
import 'package:cjybase/network/net.dart';
import 'package:cjybase_example/page/page_manage.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(Main());
}

class Main extends MainBase {
  @override
  Widget setStartPage(BuildContext context) {
    return MainPage();
  }

  @override
  String setTitle() {
    return "寸井月";
  }

  @override
  ScreenDefault setDefaultWH() {
    return ScreenDefault(375, 812);
  }

  @override
  initData() {
    /// 初始化网络请求
    Net.init("https://jsonplaceholder.typicode.com/", {"qwe": "asad"});
  }
}
